package com.jiadeyu.service;

import com.jiadeyu.pojo.User;

public interface UserService {
    User findByUserName(String username);
    User findById(Integer id);

    void register(String username, String password);

    void update(User user);

    void updateAvatar(String avatarUrl);

    void updatePassword(String newPwd);
}
